/**
 * Copyright 2018-2020 Streamlit Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import "variables";
@import "fonts";
@import "src/assets/css/mixins";
@import "scrollbars";
@import "reboot";

// theme overrides

a,
a:visited {
  color: $primary;
}

a:hover,
a:active {
  color: $primary;
  text-decoration: underline;
}

iframe {
  border: none;
  padding: 0;
  margin: 0;
}

code {
  padding: 0.2em 0.4em;
  margin: 0;
  border-radius: $border-radius;
  background: $gray-faint;
  color: $green;
}

pre {
  @include element-margin-bottom;

  background: $gray-faint;
  border-radius: $border-radius;
  padding: 1rem;

  code {
    background: transparent;
    border: 0;
    display: inline;
    font-size: $font-size-sm;
    line-height: inherit;
    margin: 0;
    max-width: auto;
    padding: 0;
    white-space: pre;
    word-break: normal;
    word-wrap: normal;
    overflow-x: auto;
    color: $green;
  }
}

.disabled {
  color: $disabled;
}
